package com.otod.tl.generate;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

import org.json.JSONObject;

import com.fasterxml.jackson.databind.util.JSONPObject;
import com.otod.commons.utils.DateUtils;

public class TestDate {

	public static void main(String[] args) {
		Map<String,Object> map = new HashMap<String,Object>();
		
		map.put("key", "jskdkfa");
		map.put("askd", new Date());
		
		ArrayList<String> list = new ArrayList<String>();
		list.add("\"key\":\"sdkfaksdf\"");
		list.add("\"asdf\":\""+DateUtils.formatDate(new Date(), "yyyy-MM-dd")+"\"");
		list.add("\"ge\":\"sdkfaksdf\"");
		list.add("\"egv\":\"sdkfaksdf\"");
		
		System.out.println(list.toString());
		
		
		

	}

}
